
namespace JTZY.Model.Product
{
    /// <summary>
    /// 货物表
    /// </summary>
    [SugarTable("prodinfo")]
    public class Prodinfo
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 一物一码 
        /// </summary>
        public string SnCode { get; set; }

        /// <summary>
        /// 产品Id 
        /// </summary>
        public int? ProductId { get; set; }
        /// 商品ID
        public int GoodsId { get; set; }

        /// <summary>
        /// 生产日期 
        /// </summary>
        public DateTime? ProdctDate { get; set; }

        /// <summary>
        /// ActivationDate 
        /// </summary>
        public DateTime? ActivationDate { get; set; }

        /// <summary>
        /// 激活质保有效天数 
        /// </summary>
        public int? ValidDay { get; set; }

        /// <summary>
        /// 过保日期 
        /// </summary>
        public string OutDate { get; set; }

        /// <summary>
        ///代理ID 
        /// </summary>
        public long? UserId { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public long? UserCusId { get; set; }
        /// <summary>
        /// 分仓Id
        /// </summary>
        public int StoreId { get; set; }
        /// <summary>
        /// 原始二维码
        /// </summary>
        public string QrCode { get; set; }
        /// <summary>
        /// 成本价
        /// </summary>
        public decimal? CostPrice { get; set; }
        public int? MiniUserId { get; set; }

        public string NCode { get; set; }

        /// <summary>
        /// 1 退货次品
        /// </summary>
        public int IsReturn { get; set; }
        /// <summary>
        /// 商品状态 0 未入库  1 入库  2 出库 3 售后回厂
        /// </summary>
        public int Status { get; set; }

        public DateTime? InboundTime { get; set; }
        public long Agent { get; set; }

    }
}